<?php

$rows = array( array('材料编号','材料名称','品牌','规格','单位', '采购数量', '用途', '备注', ) );
if($stuffs) foreach($stuffs as $ware){
	$tmp = array($ware['sno'], $ware['name'], $ware['brand'], $ware['specific'], $ware['unit'], $ware['amount'],
			$ware['remark_use'], $ware['remark '] );
	$rows[] = $tmp;
}
Exporter::csv($rows, '紧急采购表');

?>
